/*
 * @Author: 康家赫 13349195+kangjiahe666@user.noreply.gitee.com
 * @Date: 2024-05-20 10:46:45
 * @LastEditors: 康家赫 13349195+kangjiahe666@user.noreply.gitee.com
 * @LastEditTime: 2024-05-20 11:12:25
 * @FilePath: \MDK-ARMd:\Desktop\mcu_practice\imu_-eie_stm32experience_kjh\mcu_experience1\Self_library\modbusRTU.h
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
#ifndef _MODBUSRTU_
#define _MODBUSRTU_ 
#include "usart.h"
#ifdef __cplusplus
extern "C"
{
#endif
extern unsigned int AO_Buffer[50];
extern unsigned char RX1_buf[300];
extern void ModbusRTU_Msg(unsigned char ID);

extern unsigned char uart1_rx_buf[2];
extern unsigned int UART1_overtime;
extern unsigned int UART1_offset;
extern unsigned char UART1_flag;
extern unsigned int ms_count,second_count;

#ifdef __cplusplus
}
#endif
#endif
